TUTORIAL MAP (Lesson 1) Created by Starduster 
Permission to publish has been given to CNCMAPS.com only. 
Copyright by Starduster April 2006
 
Intro Movie
----------------------------------------------------------------------------------------------------------------
This is a testmap set up for a single player mission.

Setup Players
-----------------
Take a look at the player list. The PlyrCivilian is always there if you install an object out of the civilian objects list. After that I installed the human player called 'USDeltaForce' faction America. The next one is the AI controlled player called 'NorthKorea' faction China. Computer controlled has to be marked. To choose a faction is important because that gives you all the objects of that faction.

I installed some bas buildings for the human player. For the CompPlayer I created a building list out of the China objectlist. You can see the already build buildings flashing red and if you activate the icon buildinglist in the toolbar you will see the unbuilded objects flashing green. The comp will build all the buildings from the list in the given order.

All players relationships are set to neutral at the beginning. The map perimeters should be the same as in every skirmish map when you create a conventional fight one vs. one

Scripting
-----------
In general organize the scripts in folders with names that interpretes the content otherwise you wouldn't find the right script later on.
At the beginning it is good if you do some basic settings for every player. If allow that they can build set up the scripts that are in the basic setting folder. In this map every player can build units and buildings. You also can forbid it.

The worldbuilder language is written in a boolean logic. That means at the game start every script becomes true and is executed at the same moment. So if you want a script to be executed later you have to change the condition true to another one. If you want to see where a command is located, click this special command on and choose edit, that will give you the position in the commandlist.

Intro Movie
-------------
All necessary commands are in the folder 'Intro Cutting Scene'. Everything happens in the movie is controlled by the scripts in that folder.
1. Map View
    Condition: True executed at game start
    To let you see the whole map the map must be revealed (1.command)
    To let you see more than the map in the border area the edges are turned off. But if you do that, be sure that the map     outside the border looks as well as inside. (2.command)

2. Camera Start position
    Condition: True executed at game start
    To start the movie you must choose the first position for the camera. you have to lay out a waypoint. (1.command)
    While the movie runs the players shouldn't be able to give any inputs. (2.command)
    It looks nicer in the letterbox without the UI (3.command)
    To prevent the start of the next command a timer 'Intro1' is set up. (4.command)

3. Intro Start
    Condition: Timer expired
    The camera moves from the start point to another one layed out in the map. The speed depends of the given time. To          make it slowly activate ease-in and ease-out. The added values must be not greater than the total time (1.command)
     While the camera is moving the pitch changes from default 1 to 0.7 for a nicer look. (2.command)
     While the camera is moving the zoom changes from default 1 to 0.8 for a nicer look. (3.command)
     To prevent the start of the next command a timer 'Intro2' is set up. (4.command)

4. Camera on Humvee
    Condition: Timer expired
    After the camera has reached the setup point it will be snapped to the humvee. (1.command)
    The humvee now follows the path layed out in the map and the camera too. (2.command)

5. Camera Base View
    Condition: Humvee moves into the area called 'InnerPerimeter2'
    When the humvee is in the area the camera moves away from the unit to a waypoint (1.command)
    While the camera moves it rotates and changes the direction of sight. (2.command)
    While the camera moves the pitch changes back to default. (3.command)
    While the camera moves the zoom changes back to default. (4.command)
    To prevent the start of the next command a timer 'Intro3' is set up (5.command)

6. IntroEnd
    Condition: Timer expired
    After the end of the movie players input is possible again. (1.command)
    The letterbox view is shut off (2.command)
    The edges of the map will be shrouded again (3.command)

This is only an example how a movie can look. Lots of others are possible.

We may go on with script explanation in the next tutorial

   